package com.ta.gulimall.product.feign;

import com.ta.gulimall.common.utils.system.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gulimall-ware")
public interface WareFeignService {
    /**
     * 取得库存服务skuId商品下的库存
     * @param skuIds
     * @return
     */
    @PostMapping("/ware/waresku/listSkuWare")
    R listSkuWare(@RequestBody List<Long> skuIds);
}
